package com.v.im.businessservice.dao;

import com.v.im.businessservice.bean.ImChatGroupEntity;
import com.v.im.businessservice.bean.ImChatGroupUserEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Component;

import java.util.Collection;
import java.util.List;

@Component
public interface ImChatGroupDao extends JpaRepository<ImChatGroupEntity,Long> {

    List<ImChatGroupEntity> findByIdIn(Collection<String> ids);
}
